package com.serv.common.model;

import com.jfinal.plugin.activerecord.Model;
import com.serv.common.model.sys.User;

@SuppressWarnings("serial")
public class Employee extends Model<Employee> {
	public static Employee dao = new Employee().dao();
	
	public User user(){
		return User.dao.findById(get("id"));
	}
	
	public Merchant merchant() {
		return Merchant.dao.findById(get("merchant_id"));
	}
}
